if build_tests
    test_hi183x_abi = executable(
        'test_hi183x_abi',
        ['test_hi183x_abi.cpp'],
        include_directories: [include_dirs, hisi_interface_inc],
        dependencies: [
            libgtest_dep,
            libgmock_dep,
            test_utilities_dep,
            hisi_183x_dep,
        ],
        link_args: ['-ldl'],
        install: false,
    )

    test('test_hi183x_abi', test_hi183x_abi,
         workdir: meson.build_root(),
         timeout: 180)
endif 